package pkgs;

import java.io.IOException;

import net.coobird.thumbnailator.Thumbnails;

public class Thumbnaildemo {
	
	public static void main(String[] args) throws IOException {
		String imgfile="C:\\Users\\Administrator\\Desktop\\demoimg\\1462884888203726.jpg";
		 Thumbnails.of(imgfile).size(180, 180).toFile("C:\\Users\\Administrator\\Desktop\\demoimg\\1462884888203726_thumb.jpg");
	}

}
